using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using emp.BLL;
using emp.Model;

namespace emp.ProcessFlow
{
    public class ListsTypeController
    {
        private string url = "ListTypeList.aspx";
        public void Insert(MListsType listTypeInfo)
        {
            ListsType dalbll = new ListsType();
            dalbll.Insert(listTypeInfo);
            HttpContext.Current.Response.Redirect(url, true);
        }

        public void Update(MListsType listTypeInfo)
        {
            ListsType dalbll = new ListsType();
            dalbll.Update(listTypeInfo);
            HttpContext.Current.Response.Redirect(url, true);
        }
        public void Delete(string LTT_UID)
        {
            ListsType dalbll = new ListsType();
            dalbll.Delete(LTT_UID);
            HttpContext.Current.Response.Redirect(url, true);
        }
    }
}
